package main;
import java.io.*;
import java.util.Scanner;
import FunctionalClass.*;

public class main {
	public static void main(String[] args) throws FileNotFoundException {
//		java.util.ArrayList<String> a = new java.util.ArrayList<String>();
//		String filename;
//		filename = "src/Test/test1.tig";
//
//		parse.Parse parse = new parse.Parse(filename);
//		System.out.println("Syntax Tree output:\n");
////		new Absyn.Print(System.out).prExp(parse.absyn, 0);
//		ErrorMsg.ErrorMsg err = parse.errorMsg;
		
//		Types s;
//		s = Types.Varchar;
//		
//		System.out.println(s + " " + s.ordinal());

		StringBuffer t = new StringBuffer("relcat");
//		t.appendCodePoint(2345);
		System.out.println(t.length());
//		String_Operation s = new String_Operation();
//		s.fill(t, 24);
		t.setLength(24);
		System.out.println(t.length());
		System.out.println(t);
		
//		byte a = (byte)34249;
//		System.out.println(a);
//		String s = "cat";
//		s = s+(char)a;
//		System.out.println(s);
//		System.out.println(s.length());
		try{new main().writefile();}
		catch(java.io.IOException e){
			
		}
	}
	
	public enum Types{Integer, Char, Varchar};
	
    void writefile() throws IOException {
		DataOutputStream out1 = new DataOutputStream(new FileOutputStream("result1.txt"));

    	  Integer [] a=new Integer[]{11,22,33,44,55,66};
    	  for (int i = 0; i < a.length; i++) {
    	   out1.writeInt(a[i]);
    	  }
    	  out1.close();
    	 }
}


